﻿namespace LZH.Models.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class s : DbMigration
    {
        public override void Up()
        {
            AlterColumn("dbo.basicInformationTables", "spareFour", c => c.DateTime());
            AlterColumn("dbo.imageTables", "spareFour", c => c.DateTime());
            AlterColumn("dbo.journalTables", "spareFour", c => c.DateTime());
            AlterColumn("dbo.juestBooks", "spareFour", c => c.DateTime());
            AlterColumn("dbo.logClassTables", "spareFour", c => c.DateTime());
            AlterColumn("dbo.mainTables", "spareFour", c => c.DateTime());
            AlterColumn("dbo.microLists", "spareFour", c => c.DateTime());
            AlterColumn("dbo.UserTables", "spareFour", c => c.DateTime());
        }
        
        public override void Down()
        {
            AlterColumn("dbo.UserTables", "spareFour", c => c.DateTime(nullable: false));
            AlterColumn("dbo.microLists", "spareFour", c => c.DateTime(nullable: false));
            AlterColumn("dbo.mainTables", "spareFour", c => c.DateTime(nullable: false));
            AlterColumn("dbo.logClassTables", "spareFour", c => c.DateTime(nullable: false));
            AlterColumn("dbo.juestBooks", "spareFour", c => c.DateTime(nullable: false));
            AlterColumn("dbo.journalTables", "spareFour", c => c.DateTime(nullable: false));
            AlterColumn("dbo.imageTables", "spareFour", c => c.DateTime(nullable: false));
            AlterColumn("dbo.basicInformationTables", "spareFour", c => c.DateTime(nullable: false));
        }
    }
}
